<?php

// User settings
$to = "user@yourdomain.com";
$subject = "subject";

// Include extra form fields and/or submitter data?
// false = do not include
$extra = array(
	"form_subject"	=> true,
	"form_cc"		=> true,
	"ip"			=> true,
	"user_agent"	=> true
);

// Process
$action = isset($_POST["action"]) ? $_POST["action"] : "";
if (empty($action)) {
	// Send back the contact form HTML
	$output = "<div style='display:none'>
	<div class='contact-top'></div>
	<div class='contact-content'>
		<h1 class='contact-title'>Filter tampilan kolom :</h1>
		<div class='contact-loading' style='display:none'></div>
		<div class='contact-message' style='display:none'></div>
		<form name='frm_kolom'>";
	if ($extra["form_cc"]) {
		$output .= "
			<label>&nbsp;</label>
			<input type='checkbox' id='contact-cc' name='cc2' value='1' tabindex='1005' /> <span class='contact-cc'>Propinsi</span>
			<br/>
			<label>&nbsp;</label>
			<input type='checkbox' id='contact-cc' name='cc3' value='1' tabindex='1005' /> <span class='contact-cc'>Kab / Kota</span>
			<br/>
			<label>&nbsp;</label>
			<input type='checkbox' id='contact-cc' name='cc4' value='1' tabindex='1005' /> <span class='contact-cc'>Jenis KK</span>
			<br/>
			<label>&nbsp;</label>
			<input type='checkbox' id='contact-cc' name='cc5' value='1' tabindex='1005' /> <span class='contact-cc'>Kecamatan</span>
			<br/>
			<label>&nbsp;</label>
			<input type='checkbox' id='contact-cc' name='cc6' value='1' tabindex='1005' /> <span class='contact-cc'>Jumlah Anggota</span>
			<br/>
			<label>&nbsp;</label>
			<input type='checkbox' id='contact-cc' name='cc7' value='1' tabindex='1005' /> <span class='contact-cc'>Nomor HP</span>
			<br/>
			<label>&nbsp;</label>
			<input type='checkbox' id='contact-cc' name='cc8' value='1' tabindex='1005' /> <span class='contact-cc'>Alamat Email</span>
			<br/>
			<label>&nbsp;</label>
			<input type='checkbox' id='contact-cc' name='cc9' value='1' tabindex='1005' /> <span class='contact-cc'>Nama Bank</span>
			<br/>
			<label>&nbsp;</label>
			<input type='checkbox' id='contact-cc' name='cc10' value='1' tabindex='1005' /> <span class='contact-cc'>No Rekening</span>
			<br/>
			<label>&nbsp;</label>
			<input type='checkbox' id='contact-cc' name='cc11' value='1' tabindex='1005' /> <span class='contact-cc'>Atas Nama</span>
			<br/>
			";
	}

	$output .= "
			<label>&nbsp;</label>
			<button type='button' tabindex='1006' onclick='fprocess();'>Update</button>
			<br/>
		</form>
	</div>";

	echo $output;
	echo '<script type="text/javascript" > fcheck_kolom(); </script>';
}
exit;

?>
